<?php echo '<h3><span>'; ?><?php echo $this->_tpl_vars['Captions']->GetMessageString('PageList'); ?><?php echo '</span></h3><ul>'; ?><?php $_from = $this->_tpl_vars['PageList']->GetPages(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['PageLink']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['PageLink']->GetShowAsText()): ?><?php echo '<li><b><span title="'; ?><?php echo $this->_tpl_vars['PageLink']->GetHint(); ?><?php echo '">'; ?><?php echo $this->_tpl_vars['PageLink']->GetCaption(); ?><?php echo '</span></b></li>'; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['PageLink']->GetBeginNewGroup()): ?><?php echo '</ul><div style="margin: 10px 0;" class="navbar_section_break"></div><ul>'; ?><?php endif; ?><?php echo '<li><a href="'; ?><?php echo $this->_tpl_vars['PageLink']->GetLink(); ?><?php echo '" title="'; ?><?php echo $this->_tpl_vars['PageLink']->GetHint(); ?><?php echo '"><span title="'; ?><?php echo $this->_tpl_vars['PageLink']->GetHint(); ?><?php echo '">'; ?><?php echo $this->_tpl_vars['PageLink']->GetCaption(); ?><?php echo '</span></a></li>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</ul>'; ?>